<?php
echo $this->Html->script(array(
	'plugins/select/select2.min',
	'plugins/validationEngine/languages/jquery.validationEngine-en.js',
	'plugins/validationEngine/jquery.validationEngine.js'
		), array('inline' => false));
?>
<?php
echo $this->Form->create('User', array(
	'class' => 'validate',
	'action' => 'edit',
	'url' => $this->request->here(false),
	'type' => 'post',
	'inputDefaults' => array('label' => false, 'div' => false)));
echo $this->Form->input('Paginate.task', array('style' => 'display:none;', 'value' => '', 'id' => 'task'));
?>
<div class="page-header">
	<div class="icon">
		<span class="ico-pen-2"></span>
	</div>
	<h1>
		<?php echo __('USER MANAGEMENT'); ?> 
		<small><?php echo __('add new user'); ?></small>
	</h1>
	<div class="page-toolbar">
		<div class="btn-group ctr-container">
			<button class="btn btn-primary btn-info ctr-back" type="button">
				<span class="ico-remove"></span>
				<?php echo __('Back'); ?>
			</button>
			<button class="btn btn-primary ctr-save" type="submit">
				<span class="ico-add"></span>
				<?php echo __('Save'); ?>
			</button>
		</div>
	</div>
</div>
<div class="row-fluid">
	<?php echo $this->Session->flash(); ?>
</div>
<div class="row-fluid">

	<div class="span6">                

		<div class="block">
			<div class="head">                                
				<h2><?php echo __('Basic info'); ?></h2>                     
			</div>                                        
			<div class="data-fluid">

				<div class="row-form">
					<div class="span3"><?php echo __('Fullname'); ?>:</div>
					<div class="span9">
						<?php
						echo $this->Form->input('fullname', array('type' => 'text'));
						?>  
					</div>
				</div>
				<div class="row-form">
					<div class="span3"><?php echo __('Email'); ?>:</div>
					<div class="span9">
						<?php
						echo $this->Form->input('email', array('type' => 'text'));
						?>  
					</div>
				</div>
			</div>
		</div>

	</div>

	<div class="span6">                

		<div class="block">
			<div class="head">                                
				<h2><?php echo __('Account info'); ?></h2>                                                            
			</div>                                    
			<div class="data-fluid">

				<div class="row-form">
					<div class="span3"><?php echo __('Username'); ?>:</div>
					<div class="span9">
						<?php
						echo $this->Form->input('username', array('type' => 'text'));
						?>                         
					</div>
				</div>

				<div class="row-form">
					<div class="span3"><?php echo __('Password'); ?>:</div>
					<div class="span9">
						<?php
						echo $this->Form->input('password', array('type' => 'text'));
						?>                         
					</div>
				</div>

			</div>                
		</div>
	</div>     

	<div class="span11">
		<div class="span6">
			<div class="span3">&nbsp;</div>
			<div class="span9">
				<div class="btn-group ctr-container">
					<button class="btn btn-large btn-info" type="reset"><?php echo __('Reset'); ?></button>
					<button class="btn btn-large btn ctr-save" type="submit"><?php echo __('Submit'); ?></button>
				</div>
			</div>
		</div>
	</div>
</div>
<?php echo $this->Form->end(); ?>